package net.pulseproject.router.modules;

import net.pulseproject.commons.midi.entity.MidiSocket;

public abstract class MidiModule extends Module {

	private final MidiSocket socket;

	public MidiModule(final String id, final MidiSocket socket) {
		super(id);
		if(socket == null) { throw new IllegalArgumentException("socket == null"); }
		this.socket = socket;
	}

	public final MidiSocket getSocket() {
		return this.socket;
	}
	
}
